package com.villaday.idf.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by tudou on 2018/10/17.
 */


/**
 * address : 深圳·盐田区
 * name : 深圳小梅沙·水岸2号6房别墅
 * currentPrice : 480000
 * serverTime : 1539755659595
 * id : vg8WO05K3b
 */
@Entity
public class H {
    @Id(autoincrement = true)
    private Long id;
    private String address;
    private String name;
    private long currentPrice;
    private String hId;


    public H(Resources_filtersEntity.BodyEntity.HEntity data) {
        this.address = data.getAddress();
        this.name = data.getName();
        this.currentPrice = data.getCurrentPrice();
        this.hId = data.getId();
    }


    @Generated(hash = 988256469)
    public H(Long id, String address, String name, long currentPrice, String hId) {
        this.id = id;
        this.address = address;
        this.name = name;
        this.currentPrice = currentPrice;
        this.hId = hId;
    }


    @Generated(hash = 1114724152)
    public H() {
    }


    public Long getId() {
        return this.id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public String getAddress() {
        return this.address;
    }


    public void setAddress(String address) {
        this.address = address;
    }


    public String getName() {
        return this.name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public long getCurrentPrice() {
        return this.currentPrice;
    }


    public void setCurrentPrice(long currentPrice) {
        this.currentPrice = currentPrice;
    }


    public String getHId() {
        return this.hId;
    }


    public void setHId(String hId) {
        this.hId = hId;
    }



}

